package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;

/**
 * 礼厅业务表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "MournCeremonyEntity", name = "mourn_ceremony", comment = "礼厅业务表")
public class MournCeremonyEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 礼厅类型编码
     */
    @MyColumn(value = "hallTypeCode", name = "hall_type_code", comment = "礼厅类型编码", required = true)
    private Integer hallTypeCode;

    /**
     * 礼厅设备编码
     */
    @MyColumn(value = "hallId", name = "hall_id", comment = "礼厅设备编码")
    private Integer hallId;

    /**
     * 预约入厅时间
     */
    @MyColumn(value = "appointmentInTime", name = "appointment_in_time", comment = "预约入厅时间")
    private Date appointmentInTime;

    /**
     * 预约出厅时间
     */
    @MyColumn(value = "appointmentOutTime", name = "appointment_out_time", comment = "预约出厅时间")
    private Date appointmentOutTime;

    /**
     * 实际入厅时间
     */
    @MyColumn(value = "realityInTime", name = "reality_in_time", comment = "实际入厅时间")
    private Date realityInTime;

    /**
     * 实际出厅时间
     */
    @MyColumn(value = "realityOutTime", name = "reality_out_time", comment = "实际出厅时间")
    private Date realityOutTime;

    /**
     * 流程状态
     */
    @MyColumn(value = "processStateCode", name = "process_state_code", comment = "流程状态", required = true)
    private Integer processStateCode;

    /**
     * 规则数量
     */
    @MyColumn(value = "ruleNumber", name = "rule_number", comment = "规则数量", required = true)
    private BigDecimal ruleNumber;

    /**
     * 规则单位
     */
    @MyColumn(value = "ruleUnit", name = "rule_unit", comment = "规则单位", required = true)
    private String ruleUnit;

    /**
     * 规则编码
     */
    @MyColumn(value = "ruleCode", name = "rule_code", comment = "规则编码")
    private String ruleCode;

    /**
     * 规则备注
     */
    @MyColumn(value = "ruleRemark", name = "rule_remark", comment = "规则备注")
    private String ruleRemark;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;

    /**
     * 业务类型
     */
    @MyColumn(value = "businessType", name = "business_type", comment = "业务类型", required = true)
    private String businessType;

    /**
     * 随机码
     */
    @MyColumn(value = "randomCode", name = "random_code", comment = "随机码")
    private String randomCode;

    /**
     * 费用外键
     */
    @MyColumn(value = "chargeId", name = "charge_id", comment = "费用外键")
    private Integer chargeId;

    /**
     * 场次主键
     */
    @MyColumn(value = "sessionNumberId", name = "session_number_id", comment = "场次主键")
    private Integer sessionNumberId;

    /**
     * 挽联横屏
     */
    @MyColumn(value = "coupletTop", name = "couplet_top", comment = "挽联横屏")
    private String coupletTop;

    /**
     * 挽联左联
     */
    @MyColumn(value = "coupletLeft", name = "couplet_left", comment = "挽联左联")
    private String coupletLeft;

    /**
     * 挽联右联
     */
    @MyColumn(value = "coupletRight", name = "couplet_right", comment = "挽联右联")
    private String coupletRight;


    public String getBusinessCode() {
        return businessCode;
    }

    public MournCeremonyEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getHallTypeCode() {
        return hallTypeCode;
    }

    public MournCeremonyEntity setHallTypeCode(Integer hallTypeCode) {
        this.hallTypeCode = hallTypeCode;
        return this;
    }

    public Integer getHallId() {
        return hallId;
    }

    public MournCeremonyEntity setHallId(Integer hallId) {
        this.hallId = hallId;
        return this;
    }

    public Date getAppointmentInTime() {
        return appointmentInTime;
    }

    public MournCeremonyEntity setAppointmentInTime(Date appointmentInTime) {
        this.appointmentInTime = appointmentInTime;
        return this;
    }

    public Date getAppointmentOutTime() {
        return appointmentOutTime;
    }

    public MournCeremonyEntity setAppointmentOutTime(Date appointmentOutTime) {
        this.appointmentOutTime = appointmentOutTime;
        return this;
    }

    public Date getRealityInTime() {
        return realityInTime;
    }

    public MournCeremonyEntity setRealityInTime(Date realityInTime) {
        this.realityInTime = realityInTime;
        return this;
    }

    public Date getRealityOutTime() {
        return realityOutTime;
    }

    public MournCeremonyEntity setRealityOutTime(Date realityOutTime) {
        this.realityOutTime = realityOutTime;
        return this;
    }

    public Integer getProcessStateCode() {
        return processStateCode;
    }

    public MournCeremonyEntity setProcessStateCode(Integer processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public BigDecimal getRuleNumber() {
        return ruleNumber;
    }

    public MournCeremonyEntity setRuleNumber(BigDecimal ruleNumber) {
        this.ruleNumber = ruleNumber;
        return this;
    }

    public String getRuleUnit() {
        return ruleUnit;
    }

    public MournCeremonyEntity setRuleUnit(String ruleUnit) {
        this.ruleUnit = ruleUnit;
        return this;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public MournCeremonyEntity setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
        return this;
    }

    public String getRuleRemark() {
        return ruleRemark;
    }

    public MournCeremonyEntity setRuleRemark(String ruleRemark) {
        this.ruleRemark = ruleRemark;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public MournCeremonyEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public String getBusinessType() {
        return businessType;
    }

    public MournCeremonyEntity setBusinessType(String businessType) {
        this.businessType = businessType;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public MournCeremonyEntity setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }

    public Integer getChargeId() {
        return chargeId;
    }

    public MournCeremonyEntity setChargeId(Integer chargeId) {
        this.chargeId = chargeId;
        return this;
    }

    public Integer getSessionNumberId() {
        return sessionNumberId;
    }

    public MournCeremonyEntity setSessionNumberId(Integer sessionNumberId) {
        this.sessionNumberId = sessionNumberId;
        return this;
    }

    public String getCoupletTop() {
        return coupletTop;
    }

    public MournCeremonyEntity setCoupletTop(String coupletTop) {
        this.coupletTop = coupletTop;
        return this;
    }

    public String getCoupletLeft() {
        return coupletLeft;
    }

    public MournCeremonyEntity setCoupletLeft(String coupletLeft) {
        this.coupletLeft = coupletLeft;
        return this;
    }

    public String getCoupletRight() {
        return coupletRight;
    }

    public MournCeremonyEntity setCoupletRight(String coupletRight) {
        this.coupletRight = coupletRight;
        return this;
    }
}